package org.geekforum.services;


import org.geekforum.model.ArticleReply;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface IArticleReplyService {

    /**
     * 新增帖子回复

     */
    @Transactional
    void create (ArticleReply articleReply);

    /**
     * 根据帖子Id查询所有的回复
     */
    List<ArticleReply> selectByArticleId (Long articleId);
}
